package com.posinda.sc.domain.product.model.repo;

import com.posinda.sc.domain.product.model.entity.ProductCategory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 类目表 Mapper 接口
 * </p>
 *
 * @author posinda
 * @since 2019-04-25
 */
@Repository
public interface ProductCategoryRepo extends BaseMapper<ProductCategory> {
    List<ProductCategory> findProductsByCategory(ProductCategory query);
}
